function GetRequest() {
  const url = window.location.href;
  let theRequest = {};
  let strs ;
  let num = url.indexOf("?");
  if (num !== -1) {
    let str = url.substr(num+1);
    strs = str.split("&");
    for (var i = 0; i < strs.length; i++) {
      theRequest[strs[i].split("=")[0]] = (strs[i].split("=")[1]);
    }
  }
  return theRequest;
}

export default {
  GetRequest:()=> GetRequest()
}
